package com.wind.taobao.api.trade.item.rest
{
	import com.wind.taobao.api.IPrivateAPI;
	import com.wind.taobao.core.exception.InvalidRequestParametersException;
	import com.wind.taobao.core.util.TaobaoUtils;
	import com.wind.taobao.core.webservice.TaobaoRequest;

	/**
	 * taobao.postage.delete Request
	 * @author fxy
	 *
	 */
	public class PostageDeleteRequest extends TaobaoRequest implements IPrivateAPI
	{
		public override function get method():String
		{
			return "taobao.postage.delete"
		}
		/**
		 *  Y 	 邮费模板id 
		 */
		[Bindable]
		public var postage_id:String;

		public override function validate():void
		{
			if (!TaobaoUtils.hasValue(postage_id))
			{
				throw new InvalidRequestParametersException("请求参数[postage_id]不能为空");
			}
		}
	}
}